#!/bin/sh
sudo apt-get install wine
wine_dir=~/.wine/

#1.修改/加入 ~/.wine/user.reg
#sed -i "s/mount rootfs rootfs/#mount rootfs rootfs/g"   $wine_dir/user.reg

#2.修改/加入 ~/.wine/system.reg 这里是改变dialog window buttom的字体大小
sed -i "s/\"LogPixels\"=.*/\"LogPixels\"=dword:00000082/g"   $wine_dir/system.reg 

#3.修改/加入 ~/.wine/windows的dir/win.ini
sed -i "s/menufontsize=.*/menufontsize=13/g"         $wine_dir/drive_c/windows/win.ini
sed -i "s/messagefontsize=.*/messagefontsize=13/g"   $wine_dir/drive_c/windows/win.ini
sed -i "s/statusfontsize=.*/statusfontsize=13/g"     $wine_dir/drive_c/windows/win.ini
sed -i "s/IconTitleSize=.*/IconTitleSize=13/g"       $wine_dir/drive_c/windows/win.ini
exit

#word 
